package com.ycx.ycxmybatismanagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycx.ycxmybatismanagement.pojo.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@NoArgsConstructor
public class StudentDTO extends Student {
    private Integer id;

    public StudentDTO(Integer id, Integer violationScore) {
        super(id, violationScore);
    }
}
